import net.rim.device.api.system.Display;
import net.rim.device.api.ui.component.Dialog;
import net.rim.device.api.ui.container.MainScreen;

/**
 * @author Yungoo Kim, Yongwoo Lee
 *
 */
public class GameScreen extends MainScreen {
	
	/* Device Configurations */
	//Display size
	private int deviceWidth = Display.getWidth();
	private int deviceHeight = Display.getHeight();
	
	public GameScreen(int a) {
		super();		
		GameField cf = new GameField(deviceWidth, deviceHeight, a);
		add(cf);
		cf.setFocus();
	}

	public boolean onClose() {
		Dialog.alert("Good Bye!");
		System.exit(0);
		return true;
	}

}
